<!DOCTYPE html>
<html lang="en">
<head>
    {%load staticfiles%}
 <link rel="stylesheet" type="text/css" href="{% static '/css/style.css' %}" />
    <link rel="stylesheet"  href="{% static '/layui/css/layui.css' %}"  >
    <link rel="stylesheet" href="{% static '/layui/css/switch.css' %}" >
     {%block css%}
    {%endblock css%}
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>BUG跟踪系统</title>

</head>



<script src="{% static '/layui/layui.js' %}"></script>
<script src="{% static '/js/refresh.js' %}"></script>
    <script>
layui.use('element', function(){
  var element = layui.element;
element.render('layui-nav', 'test');
    element.on('nav(filter)', function(elem){
      console.log(elem);
    });
});

</script>
<div class="layui-layout layui-layout-admin" id="banner" >
  <div class="layui-header">
    <div class="layui-logo">BUG跟踪系统</div>
    <ul class="layui-nav  layui-layout-left" id="nav"  >
       <li class="layui-nav-item" style="margin: 0 20px">
        <a href="/index"  name="url" >测试跟踪</span></a>
      </li>
      <li class="layui-nav-item" style="margin: 0 20px">
        <a href="/index/dashboard"  name="url">项目看板</a>
      </li>
      <li class="layui-nav-item" style="margin: 0 20px">
        <a href="/index/cpjf" name="url">CPJF项目</a>
      </li>
      <!--<li class="layui-nav-item">-->
        <!--<a href="javascript:;">其它系统</a>-->
        <!--<dl class="layui-nav-child">-->
          <!--<dd><a href="/index/api_test">接口测试</a></dd>-->
          <!--<dd><a href="/index/jenkins">环境构建</a></dd>-->
        <!--</dl>-->
      <!--</li>-->
    </ul>
    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item" style="float:right;margin: 0 20px">
        <a href="/admin">管理中心</a>
          <!--<span class="layui-badge-dot"></span>-->
      </li>
        <li class="layui-nav-item" style="float:right;margin: 0 20px">
        <a href="{% url 'cpjf' %}">消息<span class="layui-badge">0</span></a>
      </li>
    </ul>
  </div>
    </div>


    {%block left-banner%}
<ul class="layui-nav layui-nav-tree site-demo-nav" style="position: fixed;position: -webkit-sticky; maigin-top:60px;">
  <li class="layui-nav-item layui-nav-itemed">
    <a class="javascript:;" href="javascript:;">开发工具<span class="layui-nav-more"></span></a>
    <dl class="layui-nav-child">
      <dd>
        <a href="/demo/">调试预览</a>
      </dd>
    </dl>
  </li>

  <li class="layui-nav-item layui-nav-itemed">
    <a class="javascript:;" href="javascript:;">布局<span class="layui-nav-more"></span></a>
    <dl class="layui-nav-child">
      <dd class="">
        <a href="/demo/grid.html">栅格</a>
      </dd>
      <dd class="">
        <a href="/demo/admin.html">后台布局</a>
      </dd>
    </dl>
  </li>
</ul>

    {%endblock left-banner%}

    {%block title%}
    {%endblock title%}
<div class="layui-layout-body" id="layui-layout-body" >

<div class="layui-body" style="position:fixed;top:160px">
    {%block search%}
   <div class="searchBtn" style="text-align:left;top:120px;position: fixed;">
  <div class="layui-inline">
    <input class="layui-input"  name="search_content" id="tableReload" autocomplete="off" data-type="reload">
  </div>
  <button class="layui-btn" data-type="reload" >搜索</button>
    </div>
    {%endblock search%}
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
    {%block body%}

    {%endblock body%}
  <script src="{% static '/js/search.js' %}" ></script>
        </div>
    </div>
</body>
</html>


